home *** CD-ROM | disk | FTP | other *** search
- /*
- * DO NOT EDIT. THIS FILE IS GENERATED FROM nsIAccessibleTreeCache.idl
- */
-
- #ifndef __gen_nsIAccessibleTreeCache_h__
- #define __gen_nsIAccessibleTreeCache_h__
-
-
- #ifndef __gen_nsISupports_h__
- #include "nsISupports.h"
- #endif
-
- #ifndef __gen_nsITreeColumns_h__
- #include "nsITreeColumns.h"
- #endif
-
- /* For IDL files that don't want to include root IDL files. */
- #ifndef NS_NO_VTABLE
- #define NS_NO_VTABLE
- #endif
- class nsIAccessible; /* forward declaration */
-
-
- /* starting interface: nsIAccessibleTreeCache */
- #define NS_IACCESSIBLETREECACHE_IID_STR "cc742da2-9c25-4d04-96cd-da407d676c6d"
-
- #define NS_IACCESSIBLETREECACHE_IID \
- {0xcc742da2, 0x9c25, 0x4d04, \
- { 0x96, 0xcd, 0xda, 0x40, 0x7d, 0x67, 0x6c, 0x6d }}
-
- /**
- * A cross-platform interface that supports cache for tree item
- *
- * @status UNDER_REVIEW
- */
- class NS_NO_VTABLE nsIAccessibleTreeCache : public nsISupports {
- public:
-
- NS_DEFINE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETREECACHE_IID)
-
- /**
- * Get tree item from cache according to row and column, create if doesn't exist in cache
- * "aColumn" can be nsnull
- */
- /* [noscript] nsIAccessible getCachedTreeitemAccessible (in PRInt32 aRow, in nsITreeColumn aColumn); */
- NS_IMETHOD GetCachedTreeitemAccessible(PRInt32 aRow, nsITreeColumn *aColumn, nsIAccessible **_retval) = 0;
-
- };
-
- /* Use this macro when declaring classes that implement this interface. */
- #define NS_DECL_NSIACCESSIBLETREECACHE \
- NS_IMETHOD GetCachedTreeitemAccessible(PRInt32 aRow, nsITreeColumn *aColumn, nsIAccessible **_retval);
-
- /* Use this macro to declare functions that forward the behavior of this interface to another object. */
- #define NS_FORWARD_NSIACCESSIBLETREECACHE(_to) \
- NS_IMETHOD GetCachedTreeitemAccessible(PRInt32 aRow, nsITreeColumn *aColumn, nsIAccessible **_retval) { return _to GetCachedTreeitemAccessible(aRow, aColumn, _retval); }
-
- /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
- #define NS_FORWARD_SAFE_NSIACCESSIBLETREECACHE(_to) \
- NS_IMETHOD GetCachedTreeitemAccessible(PRInt32 aRow, nsITreeColumn *aColumn, nsIAccessible **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCachedTreeitemAccessible(aRow, aColumn, _retval); }
-
- #if 0
- /* Use the code below as a template for the implementation class for this interface. */
-
- /* Header file */
- class nsAccessibleTreeCache : public nsIAccessibleTreeCache
- {
- public:
- NS_DECL_ISUPPORTS
- NS_DECL_NSIACCESSIBLETREECACHE
-
- nsAccessibleTreeCache();
-
- private:
- ~nsAccessibleTreeCache();
-
- protected:
- /* additional members */
- };
-
- /* Implementation file */
- NS_IMPL_ISUPPORTS1(nsAccessibleTreeCache, nsIAccessibleTreeCache)
-
- nsAccessibleTreeCache::nsAccessibleTreeCache()
- {
- /* member initializers and constructor code */
- }
-
- nsAccessibleTreeCache::~nsAccessibleTreeCache()
- {
- /* destructor code */
- }
-
- /* [noscript] nsIAccessible getCachedTreeitemAccessible (in PRInt32 aRow, in nsITreeColumn aColumn); */
- NS_IMETHODIMP nsAccessibleTreeCache::GetCachedTreeitemAccessible(PRInt32 aRow, nsITreeColumn *aColumn, nsIAccessible **_retval)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
-
- /* End of implementation class template. */
- #endif
-
-
- #endif /* __gen_nsIAccessibleTreeCache_h__ */
-